﻿using System;

namespace WxLib.Core.Exceptions
{
    /// <summary>
    ///     Base for all WxLib Exceptions
    /// </summary>
    [Serializable]
    public class WxLibException : Exception
    {
        /// <summary>
        ///     Constructor
        /// </summary>
        /// <param name="message"></param>
        protected WxLibException(string message)
            : base(message)
        {
        }

        /// <summary>
        ///     Constructor
        /// </summary>
        /// <param name="message"></param>
        /// <param name="iException"></param>
        protected WxLibException(string message, Exception iException)
            : base(message, iException)
        {
        }
    }
}